<?php
/**
 * @package WordPress
 * @subpackage Starkers
 */
?>	

	
</div><!-- wrapper -->
</div>
<!-- header -->
<div id="main">
<div class="wrapper">
	<div class="breadcrumb"></div>
	
<script type="text/javascript">
$(window).load(function() {
	$('#slider').nivoSlider({
		effect:'fade',
		slices:15,
		animSpeed:500,
		pauseTime:6000,
		startSlide:0,
		directionNav:false,
		directionNavHide:true,
		controlNav:true,
		controlNavThumbs:false,
		controlNavThumbsSearch: '.jpg',
		controlNavThumbsReplace: '_thumb.jpg',
		keyboardNav:true,
		pauseOnHover:true,
		manualAdvance:false,
		captionOpacity:1,
		beforeChange: function(){},
		afterChange: function(){},
		slideshowEnd: function(){}
	});
	$('#slider-2').nivoSlider({
		effect:'fade',
		slices:15,
		animSpeed:500,
		pauseTime:6000,
		startSlide:0,
		directionNav:false,
		directionNavHide:true,
		controlNav:true,
		controlNavThumbs:false,
		controlNavThumbsSearch: '.jpg',
		controlNavThumbsReplace: '_thumb.jpg',
		keyboardNav:true,
		pauseOnHover:true,
		manualAdvance:false,
		captionOpacity:1,
		beforeChange: function(){},
		afterChange: function(){},
		slideshowEnd: function(){}
	});
});
</script>
	<div style="position: relative; background-image:none; background-color: #fff;padding:4px; margin-bottom: 12px;">
	<ul id="slider" class='home'>
		<?php query_posts('category_name=Tagline-home'); ?>
		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>		
		
		<li><img title="#<?php echo get_post_meta($post->ID, 'slider-name', true) ?>" src="<?php if (has_post_thumbnail( $post->ID ) ): ?>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<?php echo $image[0]; ?>
<?php endif; ?>" />
<!--<div id="<?php echo get_post_meta($post->ID, 'slider-name', true) ?>" class="nivo-html-caption"><?php echo get_the_content(); ?> <a href="<?php echo home_url(); ?>/<?php echo get_post_meta($post->ID, 'link', true) ?>"><?php echo get_post_meta($post->ID, 'read-on-link', true) ?></a></div>--></li>
			
			
	
		<?php endwhile; endif; ?>
	</ul>
	</div>